Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept incoming shares in acceptance tests #18039

Merged
merged 2 commits into from
Nov 21, 2019

Conversation

danxuliu
Copy link
Member

Follow up to #16828

Fortunately the Notifications app is already built in the development branches, so there was no need to update the acceptance test images with NPM to built it before running the tests. Just clone it in apps and everything is ready :-D

Since Nextcloud 17 the proper name for the old built-in notifications is
"Toast". Moreover, this will reduce ambiguity when using the
"notification" term to refer to elements in the Notifications app.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
Incoming shares are no longer automatically added to the file list of
the sharee. Instead, the user now needs to explictly accept the share.

Currently shares can be accepted only from the Notifications app, so it
must be explicitly cloned before installing Nextcloud if it is not found
in the "apps" directory. Note that the development branches are already
built, so there is no need to explicitly build the app.

With the new sharing behaviour the "share a skeleton file with another
user before first login" scenario is no longer valid (as the user will
need to log in to accept the share, so at that point the skeleton is
already created), so it was removed.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added the 3. to review Waiting for reviews label Nov 20, 2019
@danxuliu danxuliu added this to the Nextcloud 18 milestone Nov 20, 2019
@rullzer
Copy link
Member

rullzer commented Nov 21, 2019

So they didn't all pass. But I'm just going to merge it because most passed. Some might need some love. But lets do that in a separate PR then.

@rullzer rullzer merged commit 5943283 into master Nov 21, 2019
@rullzer rullzer deleted the accept-incoming-shares-in-acceptance-tests branch November 21, 2019 06:49
@danxuliu
Copy link
Member Author

danxuliu commented Nov 21, 2019

For the record, I locally run again the two failing test (app-comments.feature:280 and app-files-sharing-link.feature:158) and they both passed, so apparently the failures were a hiccup ;-)

@rullzer
Copy link
Member

rullzer commented Nov 21, 2019

ok 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants